package cn.yanyong.org.basic.base.mapper;

import cn.yanyong.org.basic.base.query.BaseQuery;


import java.util.List;

public interface BaseMapper<T> {
    void save(T t);
    void update(T t);
    void delete(Long id);
    List<T> loadAll();
    T loadById(Long id);
    Integer queryCount(BaseQuery tQuery);
    List<T> queryData(BaseQuery tQuery);

    void batchRemove(List<Long> ids);
}
